package com.qwt.part_time_api.vo.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 君子慎独
 * 分页参数
 */
@Data
@ApiModel("分页-筛选参数")
public class PageParams {

    @ApiModelProperty(value = "页数", example = "1", required = true)
    private int page = 1;

    @ApiModelProperty(value = "每页数量", example = "20")
    private int pageSize = 20;

    @ApiModelProperty(value = "排序", example = "desc")
    private String order = "desc";

    @ApiModelProperty(value = "新闻资讯-0：最新新闻,1：平台公告", example = "0", required = true)
    private int newsType = 0;

    @ApiModelProperty(value = "任务类型")
    private Long tid = 0L;

    @ApiModelProperty(value = "任务种类")
    private Long sid = 0L;

    @ApiModelProperty(value = "区级编码")
    private String areaCode;

    @ApiModelProperty(value = "城市", example = "广州市", required = true)
    private String region = "广州市";

    @ApiModelProperty(value = "搜索标题关键词", example = "null")
    private String title = null;
}
